from django.db import models
from django.contrib.auth.models import User 
from django.utils.translation import ugettext_lazy as _
# Create your models here.

class Member(User):
    GENDER_CHOICES = (('N', _('unknow'))   , ('M', _('Male')), ('F', _('Female')),)
         
    nickname = models.CharField(max_length=20,blank=True, null=True) 
    gender = models.CharField(max_length=1, choices=GENDER_CHOICES, default='N')
    birthdate = models.DateField(blank=True, null=True)
    allowsearch = models.BooleanField()
